projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8989d82
)
Update error message for missing examples
author
Alex Crichton
<alex@alexcrichton.com>
Sat, 21 Mar 2015 02:33:12 +0000
(19:33 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Sat, 21 Mar 2015 02:33:12 +0000
(19:33 -0700)
tests/test_cargo_test.rs
patch
|
blob
|
history
diff --git
a/tests/test_cargo_test.rs
b/tests/test_cargo_test.rs
index 1d3df2e89f0e3a62ca119b608780c9ed0a8eda26..d8b5fe28c75e1c305398051d123c1997bb80899e 100644
(file)
--- a/
tests/test_cargo_test.rs
+++ b/
tests/test_cargo_test.rs
@@
-1356,11
+1356,11
@@
test!(bad_example {
assert_that(p.cargo_process("run").arg("--example").arg("foo"),
execs().with_status(101).with_stderr("\
-no example target named `foo`
to run
+no example target named `foo`
"));
assert_that(p.cargo_process("run").arg("--bin").arg("foo"),
execs().with_status(101).with_stderr("\
-no bin target named `foo`
to run
+no bin target named `foo`
"));
});